from django.db import models


# Create your models here.
class User(models.Model):
    ID = models.CharField(max_length=50)
    Permission = models.CharField(max_length=50)
    Password = models.CharField(max_length=50)
    Address = models.CharField(max_length=50)


class Chassis(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Capacity = models.CharField(max_length=50)
    Color = models.CharField(max_length=50)
    Slot = models.CharField(max_length=50)
    TranType = models.CharField(max_length=50)


class Power(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Power = models.CharField(max_length=50)
    Authentication = models.CharField(max_length=50)
    Color = models.CharField(max_length=50)
    ModType = models.CharField(max_length=50)


class Display(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Shape = models.CharField(max_length=50)
    Size = models.CharField(max_length=50)
    Resolution = models.CharField(max_length=50)
    RefreshRate = models.CharField(max_length=50)
    Panel = models.CharField(max_length=50)
    ColorGamut = models.CharField(max_length=50)
    Curvature = models.CharField(max_length=50)


class Image(models.Model):
    ID = models.CharField(max_length=50)
    Accessories_ID = models.CharField(max_length=50)
    Data = models.CharField(max_length=50)


class CSheet(models.Model):
    CSheet = models.CharField(max_length=50)
    CPU = models.CharField(max_length=50)
    Mbroad = models.CharField(max_length=50)
    RAM = models.CharField(max_length=50)
    GPU = models.CharField(max_length=50)
    SSD = models.CharField(max_length=50)
    HDD = models.CharField(max_length=50)
    Power = models.CharField(max_length=50)
    Chassis = models.CharField(max_length=50)
    Display = models.CharField(max_length=50)


class Case(models.Model):
    ICSheet = models.CharField(max_length=50)
    CSheet = models.CharField(max_length=50)
    Like = models.CharField(max_length=50)
    CommentID = models.CharField(max_length=50)
    Collection = models.CharField(max_length=50)


class Comment(models.Model):
    CommentID = models.CharField(max_length=50)
    Comment = models.CharField(max_length=50)


class CPU(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    CoreNumbers = models.CharField(max_length=50)
    Frequency = models.CharField(max_length=50)
    Power = models.CharField(max_length=50)
    Slot = models.CharField(max_length=50)
    Performance = models.CharField(max_length=50)
    Architecture = models.CharField(max_length=50)
    Process = models.CharField(max_length=50)
    RAMType = models.CharField(max_length=50)


class GPU(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Performance = models.CharField(max_length=50)
    Architecture = models.CharField(max_length=50)
    GRAMType = models.CharField(max_length=50)
    GRAMCapacity = models.CharField(max_length=50)
    Power = models.CharField(max_length=50)
    PCIESlot = models.CharField(max_length=50)
    GPUF = models.CharField(max_length=50)
    GPUBW = models.CharField(max_length=50)
    POut = models.CharField(max_length=50)
    VOut = models.CharField(max_length=50)
    Frequency = models.CharField(max_length=50)
    Process = models.CharField(max_length=50)


class HDD(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Capacity = models.CharField(max_length=50)
    Slot = models.CharField(max_length=50)
    CacheSize = models.CharField(max_length=50)
    Platter = models.CharField(max_length=50)
    RPM = models.CharField(max_length=50)
    ReadWriteSpeed = models.CharField(max_length=50)
    ReadWriteSpeed4K = models.CharField(max_length=50)


class Mboard(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    CPUType = models.CharField(max_length=50)
    Size = models.CharField(max_length=50)
    Chipset = models.CharField(max_length=50)
    MemoryType = models.CharField(max_length=50)
    StorageType = models.CharField(max_length=50)
    WIFI = models.CharField(max_length=50)
    GraphicsType = models.CharField(max_length=50)


class NoteBook(models.Model):
    Name = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    NotebookID = models.CharField(max_length=50)
    Position = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    CPU_Name = models.CharField(max_length=50)
    CPU_Frequency = models.CharField(max_length=50)
    CPU_MAX_Frequency = models.CharField(max_length=50)
    CPU_CT = models.CharField(max_length=50)
    CPU_L3Cache = models.CharField(max_length=50)
    CPU_CoreName = models.CharField(max_length=50)
    CPU_Process = models.CharField(max_length=50)
    CPU_Power = models.CharField(max_length=50)
    RAM_Capacity = models.CharField(max_length=50)
    RAM_Type = models.CharField(max_length=50)
    ROM_Capacity = models.CharField(max_length=50)
    ROM_Type = models.CharField(max_length=50)
    Display_Touch = models.CharField(max_length=50)
    Display_Type = models.CharField(max_length=50)
    Display_Size = models.CharField(max_length=50)
    Display_Scale = models.CharField(max_length=50)
    Display_Resolution = models.CharField(max_length=50)
    Display_Brightness = models.CharField(max_length=50)
    Display_Ratio = models.CharField(max_length=50)
    Display_Technology = models.CharField(max_length=50)
    Display_RefreshRate = models.CharField(max_length=50)
    Display_Gamut = models.CharField(max_length=50)
    GPU_Name = models.CharField(max_length=50)
    GPU_Capacity = models.CharField(max_length=50)
    GPU_Type = models.CharField(max_length=50)
    GPU_BW = models.CharField(max_length=50)
    GPU_MAX_Power = models.CharField(max_length=50)
    GPU_Dedicated = models.CharField(max_length=50)
    Loudspeaker = models.CharField(max_length=50)
    Microphone = models.CharField(max_length=50)
    Wireless = models.CharField(max_length=50)
    Wired_Network = models.CharField(max_length=50)
    Bluetooth = models.CharField(max_length=50)
    Data_Interface = models.CharField(max_length=50)
    Video_Interface = models.CharField(max_length=50)
    Audio_Interface = models.CharField(max_length=50)
    Other_Interface = models.CharField(max_length=50)
    Battery_Type = models.CharField(max_length=50)
    Power_Adapter = models.CharField(max_length=50)
    Weight = models.CharField(max_length=50)
    Length = models.CharField(max_length=50)
    Width = models.CharField(max_length=50)
    Thickness = models.CharField(max_length=50)
    Material = models.CharField(max_length=50)
    Color = models.CharField(max_length=50)


class RAM(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Performance = models.CharField(max_length=50)
    Capacity = models.CharField(max_length=50)
    Type = models.CharField(max_length=50)
    Frequency = models.CharField(max_length=50)
    TimeQ = models.CharField(max_length=50)


class SSD(models.Model):
    Name = models.CharField(max_length=50)
    ID = models.CharField(max_length=50)
    PID = models.CharField(max_length=50)
    Platform = models.CharField(max_length=50)
    Price = models.CharField(max_length=50)
    Performance = models.CharField(max_length=50)
    Capacity = models.CharField(max_length=50)
    Slot = models.CharField(max_length=50)
    PCIESlot = models.CharField(max_length=50)
    ReadSpeed = models.CharField(max_length=50)
    WriteSpeed = models.CharField(max_length=50)
    ReadSpeed4K = models.CharField(max_length=50)
    WriteSpeed4K = models.CharField(max_length=50)
    Type = models.CharField(max_length=50)